# @Author: 唐奇才
# @Time: 2021/5/24 22:24
# @File: 完整版本升级.py
# @Software: PyCharm

import requests
from SpiderUtils.myUtils import myFakerHeaders
from bs4 import BeautifulSoup

def get_html(url):
    header = {'User-Agent': myFakerHeaders.getFakeHeaders()}
    # p = myFakerHeaders.getFakeProxy()
    req = requests.get(url=url, headers=header)
    # 因为又是后是图片，就不要返回text了
    return req

def main():
    pass


if __name__ == '__main__':
    main()